package com.atguigu.spzx.order;

import com.atguigu.spzx.common.anno.EnableUserTokenFeignInterceptor;
import com.atguigu.spzx.common.anno.EnableUserWebMvcConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author mo
 * @Date 2024-06-04 15:57:49
 **/
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.atguigu.spzx.feign.cart", "com.atguigu.spzx.feign.user", "com.atguigu.spzx.feign.product"})
@EnableUserTokenFeignInterceptor// 使用拦截器，重新添加token
@EnableUserWebMvcConfiguration
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}
